<!DOCTYPE html>

<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<title>模拟机培训记录</title>
		<link rel="stylesheet" href="../../lib/layui/css/layui.css">
		<link rel="stylesheet" href="../canc-userAll/css/canc-userManagement.css" />
		<link rel="stylesheet" href="../../lib/layui/css/scroll-bar.css">
		<style>
			body {
				width: 100%;
			}
			
			.layui-inline {
				margin-bottom: 10px;
			}
			
		</style>
	</head>

	<body>
		
		<!--<div class="weadmin-nav">
			<span class="">
        		<a href="../../index.html"><cite>首页</cite></a>
        		<a href="">基础数据类模块</a>
        		<a>用户管理</a>
     		</span>
		</div>-->

		<div class="layui-tab userWrap layui-container" style="width: 100%;">
			<!--<ul class="layui-tab-title">
				<li class="layui-this ldh" style="font-size:24px">模拟机培训记录</li>
			</ul>-->

			<!--模拟机实操记录编号-->
			<!--<div class="layui-col-lg4">
				<div class="layui-inline">记录编号:</div>
				<div class="layui-inline">
					<input type="text" name="id" autocomplete="off" placeholder="培训记录编号" class="layui-input id">
				</div>
			</div>-->
			<!-- 学生姓名-->
			<div class="layui-col-lg4">
				<div class="layui-inline"> 学员姓名:</div>
				<div class="layui-inline">
					<input type="text" name="studentName" autocomplete="off" placeholder=" 学员姓名" class="layui-input studentName">
				</div>

			</div>

			<!-- 老师姓名-->
			<div class="layui-col-lg4">
				<div class="layui-inline"> 老师姓名:</div>
				<div class="layui-inline">
					<input type="text" name="teacherName" autocomplete="off" placeholder=" 老师姓名" class="layui-input teacherName">
				</div>

			</div>

			<!-- 班级编号-->
			<div class="layui-col-lg4">
				<div class="layui-inline">班级名称:</div>
				<div class="layui-inline">
					<input type="text" name="className" autocomplete="off" placeholder="班级名称" class="layui-input classId">
				</div>
			</div>

			<!-- 实操类型-->
			<!--<div class="layui-col-lg4">
				<div class="layui-inline"> 实操类型:</div>
				<div class="layui-inline">
					<input type="text" name="operationType" autocomplete="off" placeholder=" 实操类型" class="layui-input operationType">
				</div>
			</div>-->

			<!--练习题编号-->
			<div class="layui-col-lg4">
				<div class="layui-inline">练习题编号:</div>
				<div class="layui-inline">
					<input type="text" name="number" autocomplete="off" placeholder="练习题编号" class="layui-input number">
				</div>
			</div>

			<!-- 模拟机编号-->
			<!--<div class="layui-col-lg4">
				<div class="layui-inline"> 模拟编号:</div>
				<div class="layui-inline">
					<input type="text" name="machineCode" autocomplete="off" placeholder=" 模拟机编号" class="layui-input machineCode">
				</div>
			</div>-->

			<!--  总分数-->
			<!--<div class="layui-col-lg4">
				<div class="layui-inline"> 总得分数:</div>
				<div class="layui-inline">
					<input type="text" name="totalScore" autocomplete="off" placeholder="  总分数" class="layui-input totalScore">
				</div>

			</div>-->

			<!-- 评语-->
			<!--<div class="layui-col-lg4">
				<div class="layui-inline"> 教员评语:</div>
				<div class="layui-inline">
					<input type="text" name="comment" autocomplete="off" placeholder=" 评语" class="layui-input comment">
				</div>

			</div>-->

			<!-- 说明,-->
			<!--<div class="layui-col-lg4">
				<div class="layui-inline"> 分数说明:</div>
				<div class="layui-inline">
					<input type="text" name="explain" autocomplete="off" placeholder=" 说明" class="layui-input explain">
				</div>

			</div>-->
		</div>

		<!-- 日期-->
		<!--<div class="layui-col-lg4">
			<div class="layui-inline"> 培训日期:</div>
			<div class="layui-inline">
				<input type="text" name="date" autocomplete="off" placeholder=" 日期" class="layui-input date">
			</div>

		</div>-->

		<!--  开始日期-->
		<div class="layui-col-lg4" style="margin-left:5px;">
			<div class="layui-inline"> 开始日期:</div>
			<div class="layui-inline">
				<input type="text" name="startTime" autocomplete="off" placeholder=" 开始日期" class="layui-input startTime">
			</div>

		</div>
		<!-- 结束日期-->
		<div class="layui-col-lg4">
			<div class="layui-inline"> 结束日期:</div>
			<div class="layui-inline">
				<input type="text" name="endTime" autocomplete="off" placeholder=" 结束日期" class="layui-input endTime">
			</div>

		</div>

		<div class="layui-show-lg-block">
			<button class="layui-btn startSearch" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i>开始查询</button>
			<!--<a href="add-classCourse.html" class="layui-btn addUser layui-btn-warm"><i class="layui-icon">&#xe608;</i>添加记录</a>-->
			<!--<a class="layui-btn add-btn layui-btn-danger addTeacher" href="../canc-batchLeading/dataBase.html"><i class="layui-icon addtion">&#xe609;</i>批量导入</a>-->
			<!--<button class="layui-btn addUser layui-btn-normal" onclick="WeAdminShow('添加班级课程','add-classCourse.html')" move: false; style="float:right;"><i class="layui-icon">&#xe608;</i>添加班级课程</button>-->
		</div>
		</div>
		<script type="text/html" id="toolbarDemo">
			<div class="layui-btn-container">
				<button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="isAll" style="font-size:20px!important;">模拟机培训记录:</button>
				<!--<button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="getCheckData">删除选中教案</button>-->
				<!--<button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="getCheckLength">获取选中数目</button>-->
				<!--<button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="isAll">验证是否全选</button>-->
			</div>
		</script>

		<table id="test" lay-filter="test"></table>
		<script type="text/html" id="barDemo">
			<!--<a class="layui-btn layui-btn-xs  operation" lay-event="edit">编辑</a>-->
			<a class="layui-btn layui-btn-xs  operation obj" lay-event='edit'>编辑查看</a>
			<!--<a class="layui-btn layui-btn-xs  operation" lay-event="edit" id="edit">查看</a>-->
			<!--<a class="layui-btn layui-btn-danger layui-btn-xs  operation" lay-event="del">删除</a>-->
		</script>

		<script src="../../static/js/jquery.1.11.1.js"></script>
		<script src="../../lib/layui/layui.js" charset="utf-8"></script>
		<script src="../../static/js/weadmin.js"></script>
		<script src="../../static/js/admin.js"></script>
		<script src="../../static/js/public.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/canc-machingSynchio.js"></script>
		<script>
			var iframeIndex;

			function editUser(edit) {

				layui.use(['table', 'laypage', 'layer', 'laydate', 'jquery', 'form'], function() {
					var form = layui.form;
					var index = layui.layer.open({
						title: "模拟机培训详情",
						type: 2,
						content: ["测试实操课.html"], //弹出层页面
						area: ['1000px','500px'],
						success: function(layero, index) {
							var body = layui.layer.getChildFrame('body', index);
							if(edit) {
								// 取到弹出层里的元素，并把编辑的内容放进去
								//							alert(edit);
								body.find(".number").val(edit.number); //练习编号
								body.find(".date").val(edit.date); //日期
								body.find(".time").val(edit.time); //练习时间
								body.find(".explain").text(edit.explain); //项目说明
								body.find(".totalScore").val(edit.totalScore); //总评成绩
								body.find(".comment").val(edit.comment); //总评成绩comment
								body.find(".sid").val(edit.id); //id																
								body.find(".comment").val(edit.comment); //评价
								body.find(".explain").val(edit.explain); // 说明
								body.find(".time").val(edit.time); //学时																
								body.find(".signId").val(edit.signId); // 签到编号
								body.find(".teacherId").val(edit.teacherId); //教员编号
								body.find(".date").val(edit.date); //日期
								body.find(".hour").val(edit.hour); //学时
								body.find(".content").val(edit.content); //备注
								body.find(".comment").val(edit.comment); //课堂备注
								body.find(".signCount").val(edit.signCount); //备注
								form.render();
							}
							//						setTimeout(function() {
							//							layui.layer.tips('点击此处返回用户列表', '.layui-layer-setwin .layui-layer-close', {
							//								tips: 3
							//							});
							//						}, 500)
						}
					})
					iframeIndex = index;
					//layui.layer.full(index);//设置弹出层布满窗口
					//改变窗口大小时，重置弹窗的宽高，防止超出可视区域（如F12调出debug的操作）
					$(window).on("resize", function() {
						//layui.layer.full(window.sessionStorage.getItem("index"));
					})
				})
			}
		</script>

	</body>

</html>